<?php
	require_once("classes/checkLogin.class.php");
	require_once("classes/CommentariesChecker.class.php");
	require_once("classes/AddComment.class.php");
	checkLogin::checkUser();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
	<head>
		<title>Chech Comment</title>
		
		<link href="css/menu.css" rel="stylesheet" type="text/css" />
		<link href="css/checkComment.css" rel="stylesheet" type="text/css" />
		
		<script type="text/javascript" src="js/menuScripts.js"></script>
	</head>
	
	<body>
		<!-- Menu -->
		<?php
			include 'menu.html';
		?>
		
		<div id="header">
			<?php
				$checker = new CommentariesChecker($_GET['summoner'], $_SESSION['username'], $_GET['champion'], $_POST['note0'], $_POST['note1'], $_POST['note2'], $_POST['note3'], $_POST['note4'], $_POST['commentary']);
				$checker->check();
			?>
		</div>
	</body>
</html>